package me.keiwu.user.domain;

import lombok.Data;
import org.hibernate.annotations.ColumnDefault;

import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * Created by kei on 14/12/2017.
 */
@Data
@Entity
public class UserTotalStep {

    @Id
    private Long userId;

    @ColumnDefault("0")
    private Integer totalStep = 0;

    @ColumnDefault("0")
    private Integer totalStep30 = 0;
}
